package com.example.demo;

import com.example.demo.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Copyright (C), 2015-2019
 * FileName: TestController
 * Author:   MRC
 * Date:     2019/12/26 22:19
 * Description:
 * History:
 */
@RestController
public class TestController {

    @Autowired
    private TestService testService;

    @GetMapping("add")
    public String add() {
        return testService.add();
    }


}